﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zor_Modes
{
    /// <summary>
    /// 租户管理
    /// </summary>
    [Description("租户管理")]
    [MetadataType(typeof(Zor_Tenant))] //reciveModel就是下面定义的字符规则
    public class Zor_Tenant
    {
        #region 获取/设置 字段值
        /// <summary>
        /// 主键ID
        /// </summary>
        public int Tenant_Id
        {
            set;
            get;
        }
        /// <summary>
        /// 姓名/公司名称
        /// </summary>
        public string Tenant_Name
        {
            set;
            get;
        }
        /// <summary>
        /// 业主电话
        /// </summary>
        public string Tenant_ProprietorPhone
        {
            set;
            get;
        }
        /// <summary>
        /// 租户身份证
        /// </summary>
        public string Tenant_IDNumber
        {
            set;
            get;
        }
        /// <summary>
        /// 租户性别
        /// </summary>
        public int Tenant_Sex
        {
            set;
            get;
        }
        /// <summary>
        /// 租户单位
        /// </summary>
        public string Tenant_Company
        {
            set;
            get;
        }
        /// <summary>
        /// 租户职业Zor_CommonType表主键ID
        /// </summary>
        public int Tenant_Vocation
        {
            set;
            get;
        }
        /// <summary>
        /// 税务登记号
        /// </summary>
        public string Tenant_TaxRegistrationNum
        {
            set;
            get;
        }
        /// <summary>
        /// 是否办理税务登记证（0未办、1已办）
        /// </summary>
        public int Tenant_IsTaxRegistration
        {
            set;
            get;
        }
        /// <summary>
        /// 法人
        /// </summary>
        public string Tenant_LegalPerson
        {
            set;
            get;
        }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string Tenant_Phone
        {
            set;
            get;
        }
        /// <summary>
        /// 税务机关
        /// </summary>
        public string Tenant_TaxAuthority
        {
            set;
            get;
        }
        /// <summary>
        /// 入租人数
        /// </summary>
        public int Tenant_Number
        {
            set;
            get;
        }
        /// <summary>
        /// 人口性质Zor_CommonType表主键ID
        /// </summary>
        public int Tenant_Nature
        {
            set;
            get;
        }
        /// <summary>
        /// 所属国籍Zor_CommonType表主键ID
        /// </summary>
        public int Tenant_Nationality
        {
            set;
            get;
        }
        /// <summary>
        /// 所属行业Zor_CommonType表主键ID
        /// </summary>
        public int Ept_Industry
        {
            set;
            get;
        }
        /// <summary>
        /// 管理代码
        /// </summary>
        public string Tenant_Code
        {
            set;
            get;
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public int Tenant_CreateTime
        {
            set;
            get;
        }
        /// <summary>
        /// 创建人(用户ID)
        /// </summary>
        public int Tenant_CreateName
        {
            set;
            get;
        }
        /// <summary>
        /// 经营范围
        /// </summary>
        public string Tenant_ScopeBusiness
        {
            set;
            get;
        }
        /// <summary>
        /// 租户类别(0个人，1企业)
        /// </summary>
        public int Tenant_Type
        {
            set;
            get;
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Tenant_Note
        {
            set;
            get;
        }
        /// <summary>
        /// 所属部门
        /// </summary>
        public int Dt_Id
        { get; 
          set; 
        }

        #endregion
    }
}
